import { ContentView } from "./ContentView.js";
import { UserView } from "./UserView.js";

function ContentController(content) {
  const findmusic = document.getElementById("findmusic");
  findmusic.onclick = () => {
    content.innerHTML = ContentView;
  }
  const avatar = document.getElementById("avatar");
  avatar.onclick = () => {
    content.innerHTML = UserView;
  }
  // console.log(flag);
  return content.innerHTML;
}

export default ContentController;